﻿using Cmp.Web.Common;
using Cmp.Web.IRepository;
using Cmp.Web.IService;
using Cmp.Web.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cmp.Web.Service
{
    /// <summary>
    /// 科室业务数据处理
    /// </summary>
    public class DeptService : IDeptService
    {
        private readonly IDeptProvide deptProvide;
        public DeptService(IDeptProvide _deptProvide) { 
        deptProvide = _deptProvide;
        }
        public Task<List<DeptInfo>> GetDeptInfoList(out ExceptionAll exception)
        {
           return deptProvide.GetDeptInfoList(out exception);
        }
    }
}
